package com.gitee.huanminabc.db_freedom.segments;

public interface SqlCombineSegments<Children, T, R> extends CaseWhenSegments<Children, T, R> {
    //left join 表示左连接
    Children LEFT_JOIN();

    //right join 表示右连接
    Children RIGHT_JOIN();

    //inner join 表示内连接
    Children INNER_JOIN();

    //on
    Children ON();

    //union
    Children UNION();

    //union all
    Children UNION_ALL();

    //添加表
    Children TABLE(Class<?> entityClass);

    Children TABLE();

    Children TABLE_ALIAS(String alias);

    Children TABLE(Class<?>... entityClass);

    Children TABLE(String sql);

}
